package com.ssy.lingxi.member.merchant.model.vo.manage.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 平台后台查询会员接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-20
 */
public class MemberManagePageByOrderTypeAndNameVO extends PageVO implements Serializable {
    private static final long serialVersionUID = -23158360028804118L;

    /**
     * 会员名称
     */
    private String name;

    /**
     * 下单类型
     */
    @NotNull(message = "下单类型不能为空")
    @Positive(message = "下单类型要大于0")
    private Integer orderType;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }
}
